python zeros to nan

28

a[a==0] = np.nan

Comments

Submit
0 Comments